package pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.validation.constraints.NotNull;

/**
 * @author jesse
 * @Date 2019/5/23 15:31
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class StuInfo {


    private String id;

    private Integer stuId;

    @NotNull(message = "学生姓名不能为空")
    private String name;

    @NotNull(message = "性别不能为空")
    private String sex;


    private Integer clazz;


    private Integer birth;

    @NotNull(message = "地址不能为空")
    private String address;

    private Integer postalcode;

    @NotNull(message = "手机号不能为空")
    private String phone;

    private Integer beginTime;

    @NotNull(message = "评论不能为空")
    private String remark;

}
